// 封装search
/**
 * 封装搜索推荐
 */
import request from '../utils/request'
export const getSearchRecommend = q => {
  return request({
    method: 'get',
    url: '/v1_0/suggestion',
    params: {
      q
    }

  })
}
// 封装搜索结果
export const getSearchResult = params => {
  return request({
    method: 'get',
    url: '/v1_0/search',
    params
  })
}
